package com.gold.persist;

import java.util.List;

import org.apache.ibatis.annotations.Select;

import com.gold.model.Bank;

public interface BankMapper {
    int deleteByPrimaryKey(Integer bId);

    int insert(Bank record);

    int insertSelective(Bank record);

    Bank selectByPrimaryKey(Integer bId);

    int updateByPrimaryKeySelective(Bank record);

    int updateByPrimaryKey(Bank record);
    
    @Select("select b_id bId, b_name bName, b_number bNumber, b_money bMoney, b_createtime bCreatetime from Bank")
    List<Bank> getAll();
}